export const portalRouter = [
  {
    path: '/',
    name: 'portal',
    meta: { noAuth: true },
    component: () => import('../PortalLayout.vue'),
    children:[
      {
        path: '',
        name: 'portalHome',
        meta:{
          name: '首页',
        },
        component: () => import('../home/views/PortalHomeView.vue'),
      },
      {
        path: '/album',
        name: 'album',
        meta:{
          name: '相册',
        },
        component: () => import('../album/views/PortalAlbumView.vue')
      },
      {
        path: '/film',
        name: 'film',
        meta:{
          name: '电影',
        },
        component: () => import('../film/views/PortalFilmView.vue')
      },
      {
        path: '/ai',
        name: 'ai',
        meta:{
          name: 'AI',
        },
        component: () => import('../ai/views/PortalAIView.vue')
      }
    ]
  },
  {
    path: '/:pathMatch(.*)*',
    redirect: '/',
  }
]